.heart-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: red;
    transform: rotate(-45deg);
    animation: float 5s ease-in-out infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    left: 10px;
    top: 0;
}

@keyframes float {
    0% {
        transform: rotate(-45deg) translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0;
    }
}    